package com.bianxianmao.duobao.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/7/20.
 */

public class FoodBean {
    //食品生鲜
    /**
     * returnValue : [{"productId":255,"periodsId":141004,"productName":"东鹏特饮维生素功能饮料250ML*24瓶","productClassId":18,"productType":"2","dbTotalCount":112,"image1":"http://file.migree.com.cn/2017/07/05/67e1c49d-27e4-4471-9c8d-0825925cb85e","dbSurplusCount":64,"periodsNumber":71858,"state":"1","winReturnAmount":0},{"productId":256,"periodsId":141076,"productName":"安慕希酸奶原味205gX12瓶 整箱","productClassId":18,"productType":"2","dbTotalCount":75,"image1":"http://file.migree.com.cn/2017/07/05/b45e6d70-1d95-4cbe-9d03-cb09940a0bdf","dbSurplusCount":64,"periodsNumber":71930,"state":"1","winReturnAmount":0},{"productId":252,"periodsId":141729,"productName":"正宗凉茶 王老吉 310ml*12罐","productClassId":18,"productType":"2","dbTotalCount":48,"image1":"http://file.migree.com.cn/2017/07/05/721853f8-a97b-4290-a5f9-167d3d2b9d65","dbSurplusCount":46,"periodsNumber":72583,"state":"1","winReturnAmount":0}]
     * successed : true
     */

    private boolean successed;
    private List<ReturnValueBean> returnValue;

    public boolean isSuccessed() {
        return successed;
    }

    public void setSuccessed(boolean successed) {
        this.successed = successed;
    }

    public List<ReturnValueBean> getReturnValue() {
        return returnValue;
    }

    public void setReturnValue(List<ReturnValueBean> returnValue) {
        this.returnValue = returnValue;
    }

    public static class ReturnValueBean {
        /**
         * productId : 255
         * periodsId : 141004
         * productName : 东鹏特饮维生素功能饮料250ML*24瓶
         * productClassId : 18
         * productType : 2
         * dbTotalCount : 112
         * image1 : http://file.migree.com.cn/2017/07/05/67e1c49d-27e4-4471-9c8d-0825925cb85e
         * dbSurplusCount : 64
         * periodsNumber : 71858
         * state : 1
         * winReturnAmount : 0
         */

        private int productId;
        private int periodsId;
        private String productName;
        private int productClassId;
        private String productType;
        private int dbTotalCount;
        private String image1;
        private int dbSurplusCount;
        private int periodsNumber;
        private String state;
        private int winReturnAmount;

        public int getProductId() {
            return productId;
        }

        public void setProductId(int productId) {
            this.productId = productId;
        }

        public int getPeriodsId() {
            return periodsId;
        }

        public void setPeriodsId(int periodsId) {
            this.periodsId = periodsId;
        }

        public String getProductName() {
            return productName;
        }

        public void setProductName(String productName) {
            this.productName = productName;
        }

        public int getProductClassId() {
            return productClassId;
        }

        public void setProductClassId(int productClassId) {
            this.productClassId = productClassId;
        }

        public String getProductType() {
            return productType;
        }

        public void setProductType(String productType) {
            this.productType = productType;
        }

        public int getDbTotalCount() {
            return dbTotalCount;
        }

        public void setDbTotalCount(int dbTotalCount) {
            this.dbTotalCount = dbTotalCount;
        }

        public String getImage1() {
            return image1;
        }

        public void setImage1(String image1) {
            this.image1 = image1;
        }

        public int getDbSurplusCount() {
            return dbSurplusCount;
        }

        public void setDbSurplusCount(int dbSurplusCount) {
            this.dbSurplusCount = dbSurplusCount;
        }

        public int getPeriodsNumber() {
            return periodsNumber;
        }

        public void setPeriodsNumber(int periodsNumber) {
            this.periodsNumber = periodsNumber;
        }

        public String getState() {
            return state;
        }

        public void setState(String state) {
            this.state = state;
        }

        public int getWinReturnAmount() {
            return winReturnAmount;
        }

        public void setWinReturnAmount(int winReturnAmount) {
            this.winReturnAmount = winReturnAmount;
        }
    }
}
